#include "IPlugin.h"
#include "IServlet.h"
#include "ISignal.h"
#include "ILogger.h"
#include "IContainer.h"
#include "ISWUpdate.h"
INTERFACES
{
    ADD_INTERFACE(IPlugin);
    ADD_INTERFACE(IServlet);
    ADD_INTERFACE(ISignal);
    ADD_INTERFACE(ILogger);
    ADD_INTERFACE(IContainer);
    ADD_INTERFACE(ISWUpdateServlet);
}
PLUGINS
//IPlugin* IPlugin::loadPlugin(const std::string &name)
{
    ADD_PLUGIN(Signal)

    ADD_PLUGIN(SimpleLogger)
    ADD_PLUGIN(LoggerConsoleSink)
    ADD_PLUGIN(SimpleLoggerAppendData)

    ADD_PLUGIN(DomainServerServlet)
    ADD_PLUGIN(DomainClientServlet)
    ADD_PLUGIN(TCPServerServlet)
    ADD_PLUGIN(TCPClientServlet)

    ADD_PLUGIN(SimpleProtoDecode)
    ADD_PLUGIN(SimpleProtoEncode)


    ADD_PLUGIN(SWUpdateImp)
    ADD_PLUGIN(TestClientPlugin)
    ADD_PLUGIN(SimpleBusinessContainer)
    ADD_PLUGIN(SimpleBusinessClient)

    ADD_PLUGIN(SWUpdateImp)
    ADD_PLUGIN(SWUpdateImpTest)

    return NULL;
}
